<script setup>
let inputValue_11
let inputValue_12
let inputValue_13

const btnEvent = () => {
  if(inputValue_11&&inputValue_12&&inputValue_13){
    alert("添加成功!")
  }else{
    alert("请输入完整信息!")
  }
}
</script>
<template>
  <view id="top-background">
  </view>
  <view id="backgorund_3">
    <view id="h3">
      <view class="h3_1">
        <view class="h3_1_1">
          家长姓名
        </view>
        <view class="h3_1_2">
          <input type="text" placeholder="请输入" v-model="inputValue_11">
        </view>
      </view>
      <hr>
      <view class="h3_1">
        <view class="h3_1_1">
          与学生关系
        </view>
        <view class="h3_1_2">
          <input type="text" placeholder="请输入" v-model="inputValue_12">
        </view>
      </view>
      <hr>
      <view class="h3_1">
        <view class="h3_1_1">
          联系电话
        </view>
        <view class="h3_1_2">
          <input type="text" placeholder="请输入" v-model="inputValue_13">
        </view>
      </view>
    </view>
  </view>
  <view id="bt_background">
    <view id="bt_bottom">
      <view id="pass" @click="btnEvent">
        提交
      </view>
    </view>
  </view>
</template>
<style>
#top-background {
  width: 100%;
  height: 70px;
  background: linear-gradient(180.00deg, #2264ff 0%, #f5f5f5 100%);
}

#background_1 {
  display: flex;
  justify-content: center;
}

#background_2 {
  display: flex;
  justify-content: center;
}

#backgorund_3 {
  display: flex;
  justify-content: center;
}

#backgorund_4 {
  display: flex;
  justify-content: center;
}

#backgorund_5 {
  display: flex;
  justify-content: center;
}

#h1 {
  width: 345px;
  height: 99px;
  border-radius: 12px;
  background: #fff;
  margin-top: -50px;
  box-shadow: 0 2px 4px #c8c7cc;
  padding: 10px;
}

#h1_1 {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}

#h1_2 {
  width: 150px;
  height: 40px;
}

#h1_3 {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

#h1_4 {
  display: flex;
  justify-content: space-between;
}

.sel {
  margin-top: 8px;
  width: 200px;
  height: 10px;
  font-size: 12px;
}

#sel_1 {
  border-color: #f8f8f8;
  width: 50px;
  height: 20px;
}

#sel_2 {
  border-color: #f8f8f8;
  width: 50px;
  height: 20px;
}

#h2_zero {
  width: 360px;
  height: 220px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 4px #c8c7cc;
  margin-top: 20px;
}

#h2_one {
  width: 360px;
  height: 380px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 4px #c8c7cc;
  margin-top: 20px;
}

#h2_1 {
  padding: 10px;
  display: flex;
  justify-content: space-between;
}

#h3 {
  width: 360px;
  height: 154px;
  border-radius: 12px;
  margin-top: -30px;
  background: #fff;
  box-shadow: 0 2px 4px #c8c7cc;
}

#h4 {
  width: 360px;
  height: 147px;
  border-radius: 12px;
  background: #fff;
  margin-top: 20px;
  box-shadow: 0 2px 4px #c8c7cc;
}


.h3_1 {
  display: flex;
  padding: 10px;
  justify-content: space-between;
}

.h3_1_1 {
  width: 150px;
  height: 30px;
}

.h3_1_2 {
  width: 200px;
  height: 30px;
}

.h3_1_3 {
  width: 200px;
  height: 30px;
  margin-right: -120px;
}

#h4_1 {
  width: 320px;
  height: 30px;
  padding: 10px;
}

#h5 {
  width: 360px;
  height: 179px;
  border-radius: 12px;
  margin-top: 20px;
  background: #fff;
  box-shadow: 0 2px 4px #c8c7cc;
}


#h2_2_1 {
  width: 316px;
  height: 140px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #c0c0c0;
  margin-left: 16px;
  padding: 5px;
}

#h2_2_2 {
  margin-top: 10px;
  width: 316px;
  height: 140px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #c0c0c0;
  margin-left: 16px;
  padding: 5px;
}

.h2_2_1_1 {
  display: flex;
  justify-content: space-between;
}

.h2_2_1_1_1 {
  margin-top: 5px;
  width: 100%;
  height: 35px;
}

.h2_2_1_1_2 {
  margin-top: 5px;
  width: 100%;
  height: 60px;
  display: flex;
}

#h5_1 {
  padding: 10px;
}

#h5_2 {
  width: 330px;
  height: 46px;
  font-family: "PingFang SC";
  font-weight: 400;
  font-size: 12px;
  text-align: left;
  color: #999999;
  padding: 10px;
  margin-top: -20px;
}

.textarea_1 {
  width: 100%;
  height: 70px;
  margin-top: -35px;
}

#text_1 {
  padding: 10px;
  width: 100%;
  margin-bottom: 20px;
  font-size: 12px;
  text-align: left;
}

#image_1 {
  width: 80px;
  height: 80px;
  margin-left: 10px;
  display: flex;
  justify-content: center;
}

#image_2 {
  width: 250px;
  height: 250px;
  margin-left: 12px;
  margin-top: -78px;
}

#lessTwoWeeks {
  display: flex;
  justify-content: center;
}

#les_1 {
  padding: 10px;
  margin-top: 20px;
}

#bt_background {
  display: flex;
  justify-content: center;
}

#bt_bottom {
  width: 330px;
  height: 50px;
  border-radius: 25px;
  background: #2264ff;
  box-shadow: 0 5px 10px #2264ff33;
  color: #f8f8f8;
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 25px;
  margin-bottom: 30px;
}

#bt_bottom_disable {
  width: 330px;
  height: 50px;
  border-radius: 25px;
  background: #6a6a6a;
  box-shadow: 0 5px 10px #2264ff33;
  color: #f8f8f8;
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 25px;
  margin-bottom: 30px;
}

#pass {
  font-family: "PingFang SC Bold";
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  align-content: center;
  color: #fff;
}

#bt_1 {
  display: flex;
  justify-content: space-between;
  width: 60px;
  height: 28px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #2264ff;
}

#picture {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  margin-left: 3px;
}

#picture_1 {
  width: 20px;
  height: 20px;
  background: #fff;
  margin-top: 30px;

}

#bt_h2 {
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: #2264ff;
  margin-right: 7px;
  margin-top: 3px;
}

#picture_1 {
  margin-top: -20px;
  margin-left: -15px;
}

#t1 {
  margin-left: 5px;
}
</style>